﻿namespace AnyOffice.Model
{
    using System;

    public class ReportData
    {
        protected DateTime _addTime = DateTime.Now;
        protected object _attachmentId;
        protected object _managers;
        protected object _note1;
        protected object _note2;
        protected object _note3;
        protected object _note4;
        protected int _reportId = -1;
        protected DateTime _reportTime = DateTime.Now;
        protected string _title = string.Empty;
        protected int _type = 1;
        protected string _userId = string.Empty;

        protected int _planid = -1;
        protected int _year = -1;
        protected int _month = -1;

        public DateTime AddTime
        {
            get
            {
                return this._addTime;
            }
            set
            {
                this._addTime = value;
            }
        }

        public string AttachmentId
        {
            get
            {
                return (string) this._attachmentId;
            }
            set
            {
                this._attachmentId = value;
            }
        }

        public bool AttachmentIdIsNull
        {
            get
            {
                return (this._attachmentId == null);
            }
            set
            {
                if (value)
                {
                    this._attachmentId = null;
                }
            }
        }

        public string Managers
        {
            get
            {
                return (string) this._managers;
            }
            set
            {
                this._managers = value;
            }
        }

        public bool ManagersIsNull
        {
            get
            {
                return (this._managers == null);
            }
            set
            {
                if (value)
                {
                    this._managers = null;
                }
            }
        }

        public string Note1
        {
            get
            {
                return (string) this._note1;
            }
            set
            {
                this._note1 = value;
            }
        }

        public bool Note1IsNull
        {
            get
            {
                return (this._note1 == null);
            }
            set
            {
                if (value)
                {
                    this._note1 = null;
                }
            }
        }

        public string Note2
        {
            get
            {
                return (string) this._note2;
            }
            set
            {
                this._note2 = value;
            }
        }

        public bool Note2IsNull
        {
            get
            {
                return (this._note2 == null);
            }
            set
            {
                if (value)
                {
                    this._note2 = null;
                }
            }
        }

        public string Note3
        {
            get
            {
                return (string) this._note3;
            }
            set
            {
                this._note3 = value;
            }
        }

        public bool Note3IsNull
        {
            get
            {
                return (this._note3 == null);
            }
            set
            {
                if (value)
                {
                    this._note3 = null;
                }
            }
        }

        public string Note4
        {
            get
            {
                return (string) this._note4;
            }
            set
            {
                this._note4 = value;
            }
        }

        public bool Note4IsNull
        {
            get
            {
                return (this._note4 == null);
            }
            set
            {
                if (value)
                {
                    this._note4 = null;
                }
            }
        }

        public int ReportId
        {
            get
            {
                return this._reportId;
            }
            set
            {
                this._reportId = value;
            }
        }

        public DateTime ReportTime
        {
            get
            {
                return this._reportTime;
            }
            set
            {
                this._reportTime = value;
            }
        }

        public string Title
        {
            get
            {
                return this._title;
            }
            set
            {
                this._title = value;
            }
        }

        public int Type
        {
            get
            {
                return this._type;
            }
            set
            {
                this._type = value;
            }
        }

        public string UserId
        {
            get
            {
                return this._userId;
            }
            set
            {
                this._userId = value;
            }
        }



        public int PlanID
        {
            get
            {
                return this._planid;
            }
            set
            {
                this._planid = value;
            }
        }


        public int Year
        {
            get
            {
                return this._year;
            }
            set
            {
                this._year = value;
            }
        }


        public int Month
        {
            get
            {
                return this._month;
            }
            set
            {
                this._month = value;
            }
        }




    }
}

